<script>
export default {
  props: ["data"],
  components: {},
};
</script>

<template>
  <div class="goods">
    <h2>商品相关信息</h2>
    <div>
      <div>
        商品id: <strong>{{ data.goodInfo.goodNo }}</strong>
      </div>
      <div>
        商品名称: <strong>{{ data.goodInfo.goodName }}</strong>
      </div>
      <div>商品描述: <slot name="desc">这是一本好书</slot></div>
    </div>
  </div>
</template>

<style scoped></style>
